package org.alis.smallcc.designpatterns.behavior.observer.spring;

import java.util.Properties;

import org.springframework.context.ApplicationEvent;
/**
 * 改变事件
 * 
 * @author luochuan
 */
public class ChangeBusEvent extends ApplicationEvent{

	private Properties properties;
	
	public ChangeBusEvent(Object source) {
		super(source);
		properties = new Properties();
		properties.put("name",this.getClass().getSimpleName());
		
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 获取配置项
	 * @return
	 */
	public Properties getProperties() {
		return this.properties;
	}
	

}
